{extend name="Public/base"/}

{block name="main"}
<!-- 数据列表 -->
<div class="box-info">
    <table class="table table-bordered table-striped ">
        <thead>
        <tr>
            <th class="">行为名称</th>
            <th class="">执行者</th>
            <th class="">日志内容</th>
            <th class="">执行时间</th>
            <th class="">操作</th>
        </tr>
        </thead>
        <tbody>
        {notempty name="_list"}
            {volist name="_list" id="vo"}
                <tr>
                    <td>{$action_list[$vo['action_id']]['title']}</td>
                    <td><a href="{:U('Action/actionlog',array('uid'=>$vo['user_id']))}">{:get_adminname($vo['user_id'])}</a></td>
                    <td>{$vo['remark']}</td>
                    <td><span>{$vo.create_time|toDate=###, 'Y-m-d H:i:s'}</span></td>
                    <td>
                        <a class="confirm ajax-get" href="{:U('Action/remove?ids='.$vo['id'])}">删除</a>
                    </td>
                </tr>
            {/volist}
            {else/}
            <td colspan="7" class="text-center"> aOh! 现在还没有记录 </td>
        {/notempty}
        </tbody>
    </table>
</div>
<!-- 分页 -->
<div class="with-padding">{$_page}</div>
<!-- /分页-->

{/block}